[INFO] fetching crate get-size 0.1.2...
[INFO] checking get-size-0.1.2 against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] extracting crate get-size 0.1.2 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate get-size 0.1.2 on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate get-size 0.1.2
[INFO] finished tweaking crates.io crate get-size 0.1.2
[INFO] tweaked toml for crates.io crate get-size 0.1.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded get-size-derive v0.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e19c88b29c4747fd9f5b4129d88a0898f76793718e0a71585faf81252b18547e
[INFO] running `Command { std: "docker" "start" "-a" "e19c88b29c4747fd9f5b4129d88a0898f76793718e0a71585faf81252b18547e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e19c88b29c4747fd9f5b4129d88a0898f76793718e0a71585faf81252b18547e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e19c88b29c4747fd9f5b4129d88a0898f76793718e0a71585faf81252b18547e", kill_on_drop: false }`
[INFO] [stdout] e19c88b29c4747fd9f5b4129d88a0898f76793718e0a71585faf81252b18547e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] db4851b262ace15619192a5438e527600852b18131f498d8170e8b55b9239eed
[INFO] running `Command { std: "docker" "start" "-a" "db4851b262ace15619192a5438e527600852b18131f498d8170e8b55b9239eed", kill_on_drop: false }`
[INFO] [stderr]     Checking get-size v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]  --> src/tests/mod.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(GetSize)]
[INFO] [stdout]   |          ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/tests/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(GetSize)]
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/tests/mod.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | use super::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[derive(GetSize)]
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/tests/mod.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | use super::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:36:3
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[get_size(ignore(B, C))]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:40:7
[INFO] [stdout]    |
[INFO] [stdout] 40 |     #[get_size(ignore)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `get_size` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:42:7
[INFO] [stdout]    |
[INFO] [stdout] 42 |     #[get_size(ignore)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:66:10
[INFO] [stdout]    |
[INFO] [stdout] 66 | #[derive(GetSize)]
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/tests/mod.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | use super::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]   --> src/tests/mod.rs:84:10
[INFO] [stdout]    |
[INFO] [stdout] 84 | #[derive(GetSize)]
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]   --> src/tests/mod.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | use super::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/tests/mod.rs:124:10
[INFO] [stdout]     |
[INFO] [stdout] 124 | #[derive(GetSize)]
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> src/tests/mod.rs:1:5
[INFO] [stdout]     |
[INFO] [stdout] 1   | use super::*;
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/tests/mod.rs:151:17
[INFO] [stdout]     |
[INFO] [stdout] 151 | #[derive(Clone, GetSize)]
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> src/tests/mod.rs:1:5
[INFO] [stdout]     |
[INFO] [stdout] 1   | use super::*;
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `GetSize` in this scope
[INFO] [stdout]    --> src/tests/mod.rs:178:10
[INFO] [stdout]     |
[INFO] [stdout] 178 | #[derive(GetSize)]
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: `GetSize` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]    --> src/tests/mod.rs:1:5
[INFO] [stdout]     |
[INFO] [stdout] 1   | use super::*;
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStruct` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub struct TestStruct {
[INFO] [stdout]    | --------------------- method `get_heap_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestStruct`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestStruct` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 16 |     assert_eq!(test.value1.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 16 |     assert_eq!(test.value2.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStructGenerics` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:32:21
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct TestStructGenerics<A, B> {
[INFO] [stdout]    | ----------------------------------- method `get_heap_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestStructGenerics<String, u64>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestStructGenerics<String, u64>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 32 |     assert_eq!(test.value1.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 32 |     assert_eq!(test.value2.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStructGenericsIgnore` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 38 | struct TestStructGenericsIgnore<A, B, C> {
[INFO] [stdout]    | ---------------------------------------- method `get_heap_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 63 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestStructGenericsIgnore<String, u64, TestStructNoGetSize>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestStructGenericsIgnore<String, u64, TestStructNoGetSize>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 63 |     assert_eq!(test.value1.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 63 |     assert_eq!(test.value2.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 63 |     assert_eq!(test.value3.value.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for struct `TestStructGenericsLifetimes` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:81:21
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct TestStructGenericsLifetimes<'a, A, B> {
[INFO] [stdout]    | ------------------------------------------------ method `get_heap_size` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 81 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestStructGenericsLifetimes<'_, String, u64>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestStructGenericsLifetimes<'_, String, u64>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: some of the expressions' fields have a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 81 |     assert_eq!(test.value1.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 81 |     assert_eq!(test.value2.get_heap_size(), 5);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]   --> src/tests/mod.rs:98:21
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub enum TestEnum {
[INFO] [stdout]    | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 98 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]    |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]   --> src/lib.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub trait GetSize: Sized {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:101:21
[INFO] [stdout]     |
[INFO] [stdout] 85  | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 101 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]    --> src/lib.rs:78:5
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:104:21
[INFO] [stdout]     |
[INFO] [stdout] 85  | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 104 |     assert_eq!(test.get_heap_size(), 6);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]    --> src/lib.rs:78:5
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:107:21
[INFO] [stdout]     |
[INFO] [stdout] 85  | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 107 |     assert_eq!(test.get_heap_size(), 4 + 16 + 12);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]    --> src/lib.rs:78:5
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:115:21
[INFO] [stdout]     |
[INFO] [stdout] 85  | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 115 |     assert_eq!(test.get_heap_size(), 11);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]    --> src/lib.rs:78:5
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:118:21
[INFO] [stdout]     |
[INFO] [stdout] 85  | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 118 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]    --> src/lib.rs:78:5
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:121:21
[INFO] [stdout]     |
[INFO] [stdout] 85  | pub enum TestEnum {
[INFO] [stdout]     | ----------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 121 |     assert_eq!(test.get_heap_size(), 5 + 5);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum` here
[INFO] [stdout]     |
[INFO] [stdout] note: the method `get_heap_size` exists on the type `String`
[INFO] [stdout]    --> src/lib.rs:78:5
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnumGenerics` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:134:21
[INFO] [stdout]     |
[INFO] [stdout] 125 | pub enum TestEnumGenerics<'a, A, B, C> {
[INFO] [stdout]     | -------------------------------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 134 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnumGenerics<'_, u64, String, TestStruct>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnumGenerics<'_, u64, String, TestStruct>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnumGenerics` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:137:21
[INFO] [stdout]     |
[INFO] [stdout] 125 | pub enum TestEnumGenerics<'a, A, B, C> {
[INFO] [stdout]     | -------------------------------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 137 |     assert_eq!(test.get_heap_size(), 5);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnumGenerics<'_, u64, String, TestStruct>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnumGenerics<'_, u64, String, TestStruct>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnumGenerics` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:145:21
[INFO] [stdout]     |
[INFO] [stdout] 125 | pub enum TestEnumGenerics<'a, A, B, C> {
[INFO] [stdout]     | -------------------------------------- method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 145 |     assert_eq!(test.get_heap_size(), 0); // It is a pointer.
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnumGenerics<'_, u64, String, TestStruct>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnumGenerics<'_, u64, String, TestStruct>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `Node` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:161:21
[INFO] [stdout]     |
[INFO] [stdout] 152 | enum Node<T> where T: Default {
[INFO] [stdout]     | ------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 161 |     assert_eq!(test.get_heap_size(), 4);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `Node<String>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut Node<String>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `Node` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:164:21
[INFO] [stdout]     |
[INFO] [stdout] 152 | enum Node<T> where T: Default {
[INFO] [stdout]     | ------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 164 |     assert_eq!(test.get_heap_size(), 8*27);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `Node<u64>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut Node<u64>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `Node` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:175:21
[INFO] [stdout]     |
[INFO] [stdout] 152 | enum Node<T> where T: Default {
[INFO] [stdout]     | ------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 175 |     assert_eq!(test.get_heap_size(), 8*std::mem::size_of::<Node<u64>>());
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `Node<u64>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut Node<u64>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum2` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:188:21
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub enum TestEnum2 {
[INFO] [stdout]     | ------------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 188 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum2`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum2` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum2` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:191:21
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub enum TestEnum2 {
[INFO] [stdout]     | ------------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 191 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum2`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum2` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_heap_size` found for enum `TestEnum2` in the current scope
[INFO] [stdout]    --> src/tests/mod.rs:194:21
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub enum TestEnum2 {
[INFO] [stdout]     | ------------------ method `get_heap_size` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 194 |     assert_eq!(test.get_heap_size(), 0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ method not found in `TestEnum2`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:78:8
[INFO] [stdout]     |
[INFO] [stdout] 78  |     fn get_heap_size(&self) -> usize {
[INFO] [stdout]     |        ------------- the method is available for `&mut TestEnum2` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `GetSize` defines an item `get_heap_size`, perhaps you need to implement it
[INFO] [stdout]    --> src/lib.rs:66:1
[INFO] [stdout]     |
[INFO] [stdout] 66  | pub trait GetSize: Sized {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 31 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `get-size` due to 32 previous errors
[INFO] running `Command { std: "docker" "inspect" "db4851b262ace15619192a5438e527600852b18131f498d8170e8b55b9239eed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db4851b262ace15619192a5438e527600852b18131f498d8170e8b55b9239eed", kill_on_drop: false }`
[INFO] [stdout] db4851b262ace15619192a5438e527600852b18131f498d8170e8b55b9239eed
